export const CODE_SUCCESS = 0
export const CODE_NETFAILED = 4500;
export const CODE_UNKNOW = 4001
export const CODE_INVALIDATE = 4002
export const CODE_NOSUPPORTMETHOD = 4003
export const CODE_ISSPAM = 4004
export const CODE_NOAUTH = 4011
export const CODE_NOPERMISSION = 4012
export const CODE_NOPERMISSION_OR_NOEXIST = 4013
export const CODE_NOEXIST = 4021
export const CODE_EXIST = 4022

export const STATE_HANDLE_NAME_REFRESH = 'refresh';
export const STATE_HANDLE_NAME_ADD = 'add';
export const STATE_HANDLE_NAME_INSERT = 'insert';
export const STATE_HANDLE_NAME_PUSH = 'push';
export const STATE_HANDLE_NAME_CLEAR = 'clear';
export const STATE_HANDLE_NAME_DEL = 'del';
export const STATE_HANDLE_NAME_DEL_BY_KEY = 'del_by_key';
export const STATE_HANDLE_NAME_CLEARALL = 'clearall';
export const STATE_HANDLE_NAME_SET = 'set';
export const STATE_HANDLE_NAME_SET_BY_LIST = 'set_by_list';
export const STATE_HANDLE_NAME_UPDATE = 'update';
export const STATE_HANDLE_NAME_UPDATE_MANY = 'update_many';
export const STATE_HANDLE_NAME_UPDATE_BY_CONDITION = 'update_condition';
export const STATE_HANDLE_NAME_ADD_UPDATE = 'add_update';
export const STATE_HANDLE_NAME_SET_STATE = 'set_state';
export const STATE_TODO = '_todo';

